All Questions
3 questions
1vote
1answer
476views
What‘s different between inode->i_rwsem and i_flctx?
When I trace the function graph when calling write(), I find that within function ext4_file_write_iter() it locks the inode->i_rwsem by calling inode_lock(inode) at the beginning. After that call ...
0votes
1answer
271views
struct file_operations vs struct vnodeops
As per my understanding kernel maintains 4 tables. Per process FD table. System wide open file table struct file Inode (in-memory) table struct vnode Inode (on-disk) table. struct file have one field ...
10votes
2answers
3kviews
Why does the Linux kernel report "out of disk space" when in reality it is out of i-nodes
A friend of mine who likes programming in the Linux environment, but doesn't know much about the administration of Linux recently ran into a problem where his OS (Ubuntu) was reporting "out of disk ...